package com.tengju.user.domain.service;

import com.tengju.user.domain.model.login.LoginResult;
import com.tengju.user.domain.model.user.LoginDesc;
import com.tengju.user.domain.model.user.StaffId;
import org.springframework.web.bind.annotation.RequestParam;

public interface SsoService {

    LoginResult checkToken(String token);

    boolean checkPermission(StaffId staffId, String url, String httpMethod);

}
